package com.wzx.user.mapper;

import com.wzx.user.dto.SearchDto;
import com.wzx.user.vo.SearchFriendVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/7/26 - 18:58
 * @description 标题
 */
@Mapper
public interface SearchMapper{
    List<SearchDto> searchByCondition(@Param("userId") Integer userId, @Param("searchName") String searchName);

    List<SearchDto> searchByFriend(SearchFriendVo searchFriendVo);

    List<SearchDto> searchByGroup(SearchFriendVo searchFriendVo);
}
